package com.lrl.service;

import com.lrl.pojo.Admin;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface AdminService extends UserDetailsService {
    List<Admin> getAdminsList();
    Admin getAdminByName(String name);
    String getPwdByName(String name);
    boolean updateLoginTimeByName(String name);
}
